Integrand size = 26, antiderivative size = 38 \[ \int \frac {\cot ^4(e+f x)}{\left (a-a \sin ^2(e+f x)\right )^{3/2}} \, dx=-\frac {\cot (e+f x) \csc ^2(e+f x)}{3 a f \sqrt {a \cos ^2(e+f x)}} \]
[Out]
Time = 0.14 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {3255, 3286, 2686, 30} \[ \int \frac {\cot ^4(e+f x)}{\left (a-a \sin ^2(e+f x)\right )^{3/2}} \, dx=-\frac {\cot (e+f x) \csc ^2(e+f x)}{3 a f \sqrt {a \cos ^2(e+f x)}} \]
[In]
[Out]
Rule 30
Rule 2686
Rule 3255
Rule 3286
Rubi steps \begin{align*} \text {integral}& = \int \frac {\cot ^4(e+f x)}{\left (a \cos ^2(e+f x)\right )^{3/2}} \, dx \\ & = \frac {\cos (e+f x) \int \cot (e+f x) \csc ^3(e+f x) \, dx}{a \sqrt {a \cos ^2(e+f x)}} \\ & = -\frac {\cos (e+f x) \text {Subst}\left (\int x^2 \, dx,x,\csc (e+f x)\right )}{a f \sqrt {a \cos ^2(e+f x)}} \\ & = -\frac {\cot (e+f x) \csc ^2(e+f x)}{3 a f \sqrt {a \cos ^2(e+f x)}} \\ \end{align*}
Time = 0.04 (sec) , antiderivative size = 29, normalized size of antiderivative = 0.76 \[ \int \frac {\cot ^4(e+f x)}{\left (a-a \sin ^2(e+f x)\right )^{3/2}} \, dx=-\frac {\cot ^3(e+f x)}{3 f \left (a \cos ^2(e+f x)\right )^{3/2}} \]
[In]
[Out]
Time = 0.63 (sec) , antiderivative size = 35, normalized size of antiderivative = 0.92
method | result | size |
default | \(-\frac {\cos \left (f x +e \right )}{3 \sin \left (f x +e \right )^{3} a \sqrt {a \left (\cos ^{2}\left (f x +e \right )\right )}\, f}\) | \(35\) |
risch | \(\frac {8 i \left ({\mathrm e}^{4 i \left (f x +e \right )}+{\mathrm e}^{2 i \left (f x +e \right )}\right )}{3 \left ({\mathrm e}^{2 i \left (f x +e \right )}-1\right )^{3} f \sqrt {\left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right )^{2} a \,{\mathrm e}^{-2 i \left (f x +e \right )}}\, a}\) | \(68\) |
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 50, normalized size of antiderivative = 1.32 \[ \int \frac {\cot ^4(e+f x)}{\left (a-a \sin ^2(e+f x)\right )^{3/2}} \, dx=\frac {\sqrt {a \cos \left (f x + e\right )^{2}}}{3 \, {\left (a^{2} f \cos \left (f x + e\right )^{3} - a^{2} f \cos \left (f x + e\right )\right )} \sin \left (f x + e\right )} \]
[In]
[Out]
\[ \int \frac {\cot ^4(e+f x)}{\left (a-a \sin ^2(e+f x)\right )^{3/2}} \, dx=\int \frac {\cot ^{4}{\left (e + f x \right )}}{\left (- a \left (\sin {\left (e + f x \right )} - 1\right ) \left (\sin {\left (e + f x \right )} + 1\right )\right )^{\frac {3}{2}}}\, dx \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 382 vs. \(2 (34) = 68\).
Time = 0.34 (sec) , antiderivative size = 382, normalized size of antiderivative = 10.05 \[ \int \frac {\cot ^4(e+f x)}{\left (a-a \sin ^2(e+f x)\right )^{3/2}} \, dx=\frac {8 \, {\left (\cos \left (3 \, f x + 3 \, e\right ) \sin \left (6 \, f x + 6 \, e\right ) - 3 \, \cos \left (3 \, f x + 3 \, e\right ) \sin \left (4 \, f x + 4 \, e\right ) - {\left (3 \, \cos \left (2 \, f x + 2 \, e\right ) - 1\right )} \sin \left (3 \, f x + 3 \, e\right ) - \cos \left (6 \, f x + 6 \, e\right ) \sin \left (3 \, f x + 3 \, e\right ) + 3 \, \cos \left (4 \, f x + 4 \, e\right ) \sin \left (3 \, f x + 3 \, e\right ) + 3 \, \cos \left (3 \, f x + 3 \, e\right ) \sin \left (2 \, f x + 2 \, e\right )\right )} \sqrt {a}}{3 \, {\left (a^{2} \cos \left (6 \, f x + 6 \, e\right )^{2} + 9 \, a^{2} \cos \left (4 \, f x + 4 \, e\right )^{2} + 9 \, a^{2} \cos \left (2 \, f x + 2 \, e\right )^{2} + a^{2} \sin \left (6 \, f x + 6 \, e\right )^{2} + 9 \, a^{2} \sin \left (4 \, f x + 4 \, e\right )^{2} - 18 \, a^{2} \sin \left (4 \, f x + 4 \, e\right ) \sin \left (2 \, f x + 2 \, e\right ) + 9 \, a^{2} \sin \left (2 \, f x + 2 \, e\right )^{2} - 6 \, a^{2} \cos \left (2 \, f x + 2 \, e\right ) + a^{2} - 2 \, {\left (3 \, a^{2} \cos \left (4 \, f x + 4 \, e\right ) - 3 \, a^{2} \cos \left (2 \, f x + 2 \, e\right ) + a^{2}\right )} \cos \left (6 \, f x + 6 \, e\right ) - 6 \, {\left (3 \, a^{2} \cos \left (2 \, f x + 2 \, e\right ) - a^{2}\right )} \cos \left (4 \, f x + 4 \, e\right ) - 6 \, {\left (a^{2} \sin \left (4 \, f x + 4 \, e\right ) - a^{2} \sin \left (2 \, f x + 2 \, e\right )\right )} \sin \left (6 \, f x + 6 \, e\right )\right )} f} \]
[In]
[Out]
Exception generated. \[ \int \frac {\cot ^4(e+f x)}{\left (a-a \sin ^2(e+f x)\right )^{3/2}} \, dx=\text {Exception raised: TypeError} \]
[In]
[Out]
Time = 17.72 (sec) , antiderivative size = 88, normalized size of antiderivative = 2.32 \[ \int \frac {\cot ^4(e+f x)}{\left (a-a \sin ^2(e+f x)\right )^{3/2}} \, dx=\frac {{\mathrm {e}}^{e\,4{}\mathrm {i}+f\,x\,4{}\mathrm {i}}\,\sqrt {a-a\,{\left (\frac {{\mathrm {e}}^{-e\,1{}\mathrm {i}-f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}-\frac {{\mathrm {e}}^{e\,1{}\mathrm {i}+f\,x\,1{}\mathrm {i}}\,1{}\mathrm {i}}{2}\right )}^2}\,16{}\mathrm {i}}{3\,a^2\,f\,{\left ({\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}-1\right )}^3\,\left ({\mathrm {e}}^{e\,2{}\mathrm {i}+f\,x\,2{}\mathrm {i}}+1\right )} \]
[In]
[Out]